<?php
class UHU_WebComic_RSS_Item implements UHU_WebComic_Issue
{
	protected $title;
	protected $description;
	protected $link;
	public function __construct($title,$description,$link)
	{
		$this->title       = $title;
		$this->description = $description;
		$this->link        = $link;
	}
	public function title()
	{
		return $this->title;
	}
	public function description()
	{
		return $this->description;
	}
	public function link()
	{
		return $this->link;
	}
}
class UHU_WebComic_RSS_Dated_Item extends UHU_WebComic_RSS_Item implements UHU_WebComic_Dated_Issue
{
	protected $pubDate;
	public function __construct($title,$description,$link,$pubDate)
	{
		$this->pubDate = date('r',is_int($pubDate) ? $pubDate : strtotime($pubDate));
		parent::__construct($title,$description,$link);
	}
	public function pubDate()
	{
		return $this->pubDate;
	}
}
?>